<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../layui/dist/css/layui.css" />
	</head>

	<body>
		<script src="../layui/dist/layui.js" type="text/javascript" charset="utf-8"></script>

		<script>
			/**
			  项目JS主入口
			  以依赖Layui的layer和form模块为例
			**/
			layui.define(['layer', 'form'], function(exports) {
				var layer = layui.layer,
					form = layui.form;

				layer.msg('Hello World');

				exports('index', {}); //注意，这里是模块输出的核心，模块名必须和use时的模块名一致
			});
		</script>
	</body>

</html>